<template>
  <div>
    <!-- <router-link :to="`/home/test?button=${button}`">
      <van-button type="primary">主要按钮</van-button>
    </router-link>
    <router-link :to="{
      path:'/home/test',
      query:{
        button:'信息按钮'
      }
    }">
      <van-button type="info">信息按钮</van-button>
    </router-link>
    <router-link to="/home/test02/默认按钮">
      <van-button type="default">默认按钮</van-button>
    </router-link> -->
    <router-view></router-view>
    <van-tabbar route>
      <van-tabbar-item replace to="/home/home" icon="home-o">主页</van-tabbar-item>
      <van-tabbar-item replace to="/home/self" icon="manager-o">个人信息</van-tabbar-item>
    </van-tabbar>
  </div>
</template>

<script>
import request from "../request/index"
export default {
  name: 'HomeView',
  data() {
    return {
      button: "diyigebutton"
    };
  },
  methods: {

  },
  mounted() {
    
  }
}
</script>
